<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script type="text/javascript">
        var myDate = new Date("1970/01/01 0:0:0");
        console.log(myDate.getTime()); //中文时间比英文时间早了八个小时
    </script>
</body>

</html>